/*
 * $Id: SiteModel.java 136 2009-07-16 07:53:43Z donbeave $
 */

package labour.concept.engine.client.data;

import labour.concept.client.data.IdModel;

@SuppressWarnings("serial")
public class SiteModel extends IdModel {

  public static final String NAME = "Name";
  public static final String LOCALE_ID = "LocaleID";
  public static final String IS_PUBLISHED = "IsPublished";
  public static final String SORT_ORDER = "SortOrder";

  public String getId() {
    return get(ID);
  }

  public String getLocaleId() {
    return get(LOCALE_ID);
  }

  public String getName() {
    return get(NAME);
  }

  public void setName(String name) {
    set(NAME, name);
  }

  public Boolean isPublished() {
    return get(IS_PUBLISHED);
  }

  public int getSortOrder() {
    return (Integer) get(SORT_ORDER);
  }

  public void setSortOrder(int order) {
    set(SORT_ORDER, order);
  }

}
